let initialStgate = []
const menus = (state = initialStgate, action) => {
    switch (action.type) {
        case 'MAIN_SET_MENUS':
            return action.menus;
        default:
            return state
    }
}

export default menus